import antd from 'ant-design-vue/es/locale-provider/zh_CN'
import momentCN from 'moment/locale/zh-cn'
import menu from './zh-CN/menu'
import setting from './zh-CN/setting'

const components = {
  antLocale: antd,
  momentName: 'zh-cn',
  momentLocale: momentCN
}

export default {
  ...components,
  ...menu,
  ...setting,

  common: {
    username: '用户名',
    password: '密码',
    view: '查看',
    viewEntity: '查看{name}',
    new: '新建',
    newEntity: '新建{name}',
    edit: '编辑',
    editEntity: '编辑{name}',
    modify: '修改',
    update: '更新',
    delete: '删除',
    remove: '移除',
    moveUp: '上移',
    moveDown: '下移',
    import: '导入',
    export: '导出',
    batchDel: '批量删除',
    batchImport: '批量导入',
    batchExport: '批量导出',
    batchActions: '批量操作',
    undo: '撤销',
    redo: '恢复',
    search: '搜索',
    query: '查询',
    reset: '重置',
    yes: '是',
    no: '否',
    ok: '确认',
    cancel: '取消',
    submit: '提交',
    back: '返回',
    forward: '前进',
    login: '登录',
    logout: '注销',
    account: '账户',
    field: '字段',
    value: '值',
    name: '名称',
    classification: '分类',
    subclass: '子分类',
    number: '编号',
    property: '属性',
    description: '描述',
    comment: '备注',
    action: '操作',
    type: '类型',
    status: '状态',
    time: '时间',
    date: '日期',
    pMonth: '月份',
    pYear: '年份',
    file: '文件',
    fileName: '文件名',
    folder: '文件夹',
    parentFolder: '父级文件夹',
    size: '大小',
    createTime: '创建时间',
    updateTime: '更新时间',
    modifyTime: '修改时间',
    startTime: '开始时间',
    endTime: '结束时间',
    start: '开始',
    finish: '结束',
    enable: '启用',
    disable: '禁用', // 动词
    disabled: '禁用', // 形容词
    normal: '正常', // 形容词
    inUse: '启用',
    expand: '展开',
    collapse: '收起',
    setting: '设置',
    qrCode: '二维码',
    tip: '小贴士',
    info: '提示',
    error: '错误',
    warning: '警告',
    emptyErr: '{name}不能为空',
    illegalErr: '请输入合法的{name}',
    delWarning: '确定要删除该{name}吗？',
    batchDelWarning: '确定要删除这些{name}吗？',
    all: '全部',
    color: '颜色',
    icon: '图标',
    title: '标题',
    more: '更多',
    administrator: '管理员',
    upload: '上传',
    download: '下载',
    copy: '复制',
    move: '移动',
    copyTo: '复制至',
    moveTo: '移动至',
    sort: '排序',
    rename: '重命名',
    Sortby: '按{name}排序',
    clickToDl: '点击下载',
    plzChoose: '请选择',
    plzInput: '请输入',
    year: '年',
    month: '月',
    day: '日',
    hour: '小时',
    min: '分',
    sec: '秒',
    times: '次',
    tenThousand: '万',
    index: '序号',
    succeeded: '成功', // 动词
    failed: '失败', // 动词
    result: '结果',
    add: '添加',
    accessory: '附件',
    customized: '自定义',
    save: '保存',
    totalCount: '总数',
    detail: '详情',
    default: '默认',
    address: '地址',
    identification: '标识',
    copyright: '苏州瀚川智能科技股份有限公司'
  },

  tenant: {
    tenant: '租户',
    name: '租户名称'
  },

  contact: {
    contact: '联系人',
    phone: '联系人手机号',
    email: '联系人邮箱',
    address: '联系地址'
  },

  admin: {
    account: '管理员账号',
    password: '管理员密码'
  }
}
